package com.hdax.dmw.entity.scheduler;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dmw.entity.BaseTimeEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 节目排期表
 * @TableName dm_scheduler
 */
@TableName(value ="dm_scheduler")
@Data
public class DmScheduler extends BaseTimeEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 排期名称
     */
    private String title;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 剧集Id
     */
    private Long itemId;

    /**
     * 剧场Id
     */
    private Long cinemaId;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}